package cn.lyd.base.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LoginVo {

    @NotBlank(message = "账户不能为空!")
    private String username;
    @NotBlank(message = "密码不能为空!")
    private String password;

    @NotNull(message = "类型不能为空！")
    //后台登录：0  前台登录：1
    private Integer type;
}
